package com.heying.springcore.aop.jdbc.entity;

import java.util.List;

public class Customer {

    private int customer;
    private String customerName;
    private String city;
    private String state;
    private String zip;
    private int referred;
    private String telNo;
    private String address;
    private List<Books> bookslist;

    public Customer() {
    }

    public Customer(int customer, String customerName, String city, String state, String zip, int referred, String telNo, String address, List<Books> bookslist) {
        this.customer = customer;
        this.customerName = customerName;
        this.city = city;
        this.state = state;
        this.zip = zip;
        this.referred = referred;
        this.telNo = telNo;
        this.address = address;
        this.bookslist = bookslist;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "customer=" + customer +
                ", customerName='" + customerName + '\'' +
                ", city='" + city + '\'' +
                ", state='" + state + '\'' +
                ", zip='" + zip + '\'' +
                ", referred=" + referred +
                ", telNo='" + telNo + '\'' +
                ", address='" + address + '\'' +
                ", bookslist=" + bookslist +
                '}';
    }

    public int getCustomer() {
        return customer;
    }

    public void setCustomer(int customer) {
        this.customer = customer;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public int getReferred() {
        return referred;
    }

    public void setReferred(int referred) {
        this.referred = referred;
    }

    public String getTelNo() {
        return telNo;
    }

    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<Books> getBookslist() {
        return bookslist;
    }

    public void setBookslist(List<Books> bookslist) {
        this.bookslist = bookslist;
    }
}